export function createTaskQue() {
    const taskQue = []
    return {
        push: item => taskQue.push(item),
        pop: item => taskQue.shift(item),
        isEmpty: () => taskQue.length === 0
    }
}